html,body{
    position: relative;
}
// header
.header{
    width: 100%;
    height: 40px;
    background-color: #333;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    // margin-bottom: 40px;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        // margin-top: 40px;
        overflow: hidden;
        > .left{
            font-size: 14px;
            > a{
                margin-right: 25px;
                color: white;
            }
        }
        > .rightt{
            width: 165px;
            height: 100%;
            font-size: 14px;
            display: flex;
            display: none;
            justify-content: space-evenly;
            align-items: center;
            > a{
                color: white;
            }
            > p{
                font-size: 20px;
                color: white;
            }

        }
        >.rightt.active{
            display: flex;
            justify-content: space-evenly;
            align-items: center;
        }
        >.on.active{
            display: block;
        }
        > .on{
            position: absolute;
            right: 200px;
            top: 10px;
            display: none;
            > span{
                color: white;
                font-size: 15px;
            }
            >a{
                color: white;
                font-size: 15px;
            }
        }
    }
}

// look
.look{
    width: 39px;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 998;
    display: flex;
    justify-content: center;
    flex-direction: column;
    > .top{
        width: 100%;
        height: 108px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-bottom: 100px;
        align-items: center;
        >p{
            font-size: 25px;
            color: gray;
            cursor: pointer;
        }
    }
    >.bott{
        width: 100%;
        height: 72px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-bottom: 30px;
        align-items: center;
        >p{
            font-size: 25px;
            color: gray;
            cursor: pointer;
        }
        > .last{
            display: none;
        }
    }
}

// news
.news{
    width: 100%;
    height: 163px;
    border-bottom: 1px solid black;
    // position: absolute;
    // top: 40px;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        >.top{
            width: 100%;
            height: 102px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            > .left{
                width: 474px;
                height: 100%;
                display: flex;
                align-items: center;
                > img{
                    width: 180px;
                    height: 36px;
                    margin-right: 50px;
                }
                > p{
                    font-size: 18px;
                    margin-right: 50px;
                }
            }
            > .right{
                width: 420px;
                height: 36px;
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                > .top{
                    > input{
                        width: 350px;
                        height: 36px;
                        border-radius: 15px 0 0 15px;
                        border: 1px solid black;
                        border-right: none;
                        padding: 10px;
                        font-size: 18px;
                        box-sizing: border-box;
                    }
                    > button{
                        height: 36px;
                        width: 60px;
                        border-radius: 0 15px 15px 0;
                        border: 1px solid black;
                        border-left: none;
                        position: absolute;
                        left: 350px;
                        top: 0px;
                        background-color: white;
                        font-size: 28px;
                        cursor: pointer;
                    }
                }
                > .bot{
                width: 305px;
                height: 24px;
                margin-top: 6px;
                display: flex;
                justify-content: space-between;
                    > li{
                        // margin-right: 15px;
                        font-size: 10px;
                        color: gray;
                        cursor: pointer;
                    }
                }
            }
        }
        > .bot{
            width: 100%;
            height: 50px;
            position: relative;
            > .all{
                width: 230px;
                height: 50px;
                line-height: 50px;
                background-color: #333;
                color: white;
                cursor: pointer;
                font-size: 20px;
                text-align: center;
                position: absolute;
                left: 0;
                top: 0;
            }
            > ul{
                width: 230px;
                height: 530px;
                display: none;
                position: absolute;
                z-index: 999;
                left: 0;
                top: 50px;
                >li{
                    width: 100%;
                    height: 48px;
                    cursor: pointer;
                    text-align: center;
                    line-height: 48px;
                    font-size: 18px;
                    background-color: rgba(51,51,51,0.7);
                    color: white;
                }
                > li:hover{
                    background-color: rgba(51,51,51,0.9);
                }
            }
        }
    }
}

// nav
.box {
    width: 1580px;
    border-top: 2px solid #333;
    box-sizing: border-box;
    margin:30px auto;
    padding: 10px;
    display: flex;
    > .left {
        width: 500px;
        height: 650px;
        margin-right: 15px;
        border: 1px solid #333;
        margin: 50px;
        display: flex;
        flex-direction: column;
        position: relative;
        .show {
            width: 100%;
            height: 500px;
            border-bottom: 1px solid #333;
            position: relative;
            cursor: none;
            > .mask {
                width: 300px;
                height: 300px;
                background-color: gray;
                opacity: 0.5;
                position: absolute;
                left: 100px;
                top: 100px;
                pointer-events: none;
            }
        }
    }
      > .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid gray;
        text-align: center;
        > .title {
            font-size: 30px;
            font-weight: 700;
            margin-top: 30px;
          }
        >.sinfo{
            color: #F33;
            font-size: 20px;
            font-weight: 400;
            line-height: 20px;
            margin-top: 80px;
            
            > a{
                width: 300px;
                height: 30px;
                // background-color: #F63;
                color: #F33;
                
            }
            
        }
        >.notice{
            margin: 0 auto;
            font-size: 20px;
            width: 600px;
            height: 100px;
            line-height: 35px;
            background-color: burlywood;
            color: red;
        }
        > .price {
            color: red;
            > .current {
                font-size: 50px;
            }
            > .old {
                font-size: 30px;
                text-decoration: line-through;
                color: #ccc;
            }
        }
        > .number {
            display: flex;
            margin: 0 auto;
            > button {
                width: 30px;
                height: 30px;
                font-size: 22px;
            }
            > input {
                width: 50px;
                text-align: center;
            }
        }
        > .btns {
            display: flex;
            justify-content: space-around;
            > button {
                width: 45%;
                height: 50px;
                background: #FFEBE9;
                border-color: #F33;
                color: #F33;
                border-radius: 15px;
                cursor: pointer;
            }
            > button:nth-child(2) {
                background: linear-gradient(180deg,#F33 0,#F63 100%);
                color: #fff;
              }
        }
      }
  }
  
  .list {
    flex: 1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
  }
  
  .list > img {
    width: 88px;
    height: 88px;
    margin-right: 30px;
    border: 1px solid #333;
    cursor: pointer;
  }
  
  .list > img.active {
    border-color: orange;
  }
  
  .enlarge {
    width: 510px;
    height: 510px;
    overflow: hidden;
    position: absolute;
    left: 110%;
    top: 0;
    // display: none;
    background-color: #fff;
  }
  
  .enlarge > img {
    width: 800px;
    height: 800px;
    position: absolute;
    left: 0;
    top: 0;
  }

// footer
.footer-o{
    width: 100%;
    height: 352px;
    > .container{
        width: 1180px;
        margin: 0 auto;
        height: 100%;
        // background-color: palegreen;
        box-sizing: none;
        display: flex;
        justify-content: space-between;
        overflow: hidden;
        border-top: 1px solid white;
        > .left{
            width: 320px;
            display: flex;
            margin-top: 60px;
            margin-bottom: 60px;
            justify-content: space-between;
            flex-wrap: wrap;
            > h1{
                font-size: 20px;
                font-weight: 700;
            }
            > p{
                font-size: 15px;
            }
            > span{
                display: block;
                width: 100%;
                height: 1px;
                border-top: 1px solid black;
            }
            > .bot{
                width: 146px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                > .iconfont{
                    font-size: 25px;
                }
            }
        }
        > .center{
            width: 327px;
            margin-top: 60px;
            margin-bottom: 60px;
            display: flex;
            justify-content: space-between;
            > .le{
                font-size: 13px;
                > h1{
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }
                > ol{
                    height: 174px;
                    width: 128px;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    flex-direction: column;
                    color: gray;
                }
            }
            > .righ{
                font-size: 13px;
                > h1{
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }
                > ol{
                    height: 174px;
                    width: 98px;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    flex-direction: column;
                    color: gray;
                }
            }
        }
        > .right{
            width: 301px;
            height: 230px;
            border-left: 1px solid black;
            margin-top: 60px;
            margin-bottom: 60px;
            text-align: center;
            > h2{
                font-size: 20px;
                font-weight: 700;
                margin-bottom: 27px;
            }
            > h1{
                font-size: 30px;
                font-weight: 800;
            }
            > p{
                color: gray;
            }
        }
    }
}
.bottom{
    width: 100%;
    height: 200px;
    background-color: #333;
    > .container{
        width: 1180px;
        height: 100%;
        margin: 0 auto;
        .top{
            width: 100%;
            height: 81px;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            color: white;
            border-bottom: 1px solid white;
            > .one,.two,.three{
                width: 250px;
                display: flex;
                justify-content: center;
                font-size: 28px;
                > .iconfont{
                    font-size: 30px;
                    margin-right: 10px;
                    margin-top: 7px;
                }
            }
        }
        .bot{
            margin-top: 10px;
            text-align: center;
            > P{
                font-size: 15px;
                color: white;
            }
            > span{
                font-size: 13px;
                color: gray;
            }
        }
    }
}